package com.celeritymq.utils;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class CelerityTheadPool {
	private ExecutorService threadPool;

	public CelerityTheadPool(int size) {
		threadPool = Executors.newFixedThreadPool(size);
	}

	public void submit(Runnable runnable) {
		threadPool.submit(runnable);
	}
}
